package com.opencloud.base.server.mapper;

import com.opencloud.base.client.model.entity.BaseRole;
import com.opencloud.base.client.model.entity.RoleTenant;
import com.opencloud.common.mybatis.base.mapper.SuperMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 系统角色-租户关联 Mapper 接口
 * @author yhg
 * @date 2021-03-07
 */
@Repository
public interface RoleTenantMapper extends SuperMapper<RoleTenant> {

    List<BaseRole> selectTenantUserList(String tenantId);
}
